package com.peach.stock.mapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.peach.stock.domain.Stock12Model;
import com.peach.stock.domain.Stock11Model;

public interface StockMapper {

	public Map<String, String> select01(String dm);
	
	public List<String> select01all();
	
	public String select02hynm(String dm);
	
	public List<String> select02By02();
	
	public Map select21(String rq);
	
	public List<String> select21limit(int limit);
	
	public Stock11Model select11(String dm, String rq);
	
	public Stock11Model getone11(String dm);
	
	public List<Stock12Model> select12(String dm);
	
	public List<Map<String, Object>> countCD(String rq);
	
	public List<Object[]> countHyPe(String cbrq, String hqrq);
	
	
	public void insert01(String dm, String nm, String hy02);
	
	public void insert11(Stock11Model stockModel);
	
	public void insert12(Stock12Model stock12Model);
	
	public void insert21(String rq, BigDecimal shzs, BigDecimal szzs);
	
}
